<!DOCTYPE html>
<html lang="pt" >

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  	<meta name="viewport" content="width=device-width" />
  	<title>1º DP Corumbá</title>

  	<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  	<link rel="stylesheet" href="css/bootstrap/bootstrap.css" />
  	<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />  
  	<link rel="stylesheet" href="css/bootstrap/main.css" />
	
	<!-- JQUERY -->
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script src="js/jquery-1.7.1.min.js"><\/script>')</script>

	<script type="text/javascript" src="js/bootstrap.js"></script>
 	<script type="text/javascript" src="js/bootstrap.min.js"></script>
 	<script type="text/javascript" src="js/vendor/jquery.js"></script>
 	<script type="text/javascript" src="js/fileInputs.js"></script>
 	
 	<script type="text/javascript">$('.carousel').carousel()</script>
	<script type="text/javascript">$(".collapse").collapse()</script>
	<script type="text/javascript">
        function showHide()
        {
            if(document.getElementById('anonimo').checked)
            {
                document.getElementById('nomeComentario').style.visibility = 'hidden';
                document.getElementById('emailComentario').style.visibility = 'hidden';
            }
            else
            {
            	document.getElementById('nomeComentario').style.visibility = 'visible';
                document.getElementById('emailComentario').style.visibility ='visible';
            }
        }
    </script>
</head>
<body>
<?php 
require_once($_SERVER['DOCUMENT_ROOT'] . '/Prototipo/controle/verificaSessao.php');

?>
	<div class="navbar preto">
		<div class="container">
			<div class="row">
				<div class="span10 centralizado">
					<div class="btn-group dropdown">
		                
		              </div>
				</div>
			</div>
		</div>
	</div>
	<div class="container span10 centralizado">
		<div class="row">
			<div class="span10">
			<h2><img src="img/layout/index/Banner_Topo_PC.png"> </h2>
			</div>
		</div>
		<div class="row">
			<div class="span10">
				<div class="btn-toolbar">
					<div class="btn-group">
						<a href="index2.php?pg=home"><img src="img/layout/index/Icone_MENU_Inicio.png" width="192"></a>
						<a href="index2.php?pg=noticias" ><img alt="" src="img/layout/index/Icone_MENU_Noticias.png" width="200px"></a>
						<a href="index2.php?pg=desaparecidos" ><img alt="" src="img/layout/index/Icone_MENU_Desaparecidos.png" width="192px"></a>
						<a href="index2.php?pg=procurados" ><img alt="" src="img/layout/index/Icone_MENU_Procurados.png" width="192px"></a>						
						<a href="index2.php?pg=login" ><img alt="" src="img/layout/index/Icone_MENU_Login.png" width="192px"></a>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="container span10 centralizado">
		
	<div class="row">
	<!-- sidebar esquerdo -->
		<div class="span2">
		<!-- link para denuncias -->
			<div class="">
				<a href="#"><img src="img/layout/index/Icone_Denuncie_Aqui.png"></a>
			</div>
		<!-- link para o boletim de ocorrencia -->
			<div class="">
				<a href="#"><img src="img/layout/index/Icone_Boletim.png"></a>
			</div>
		<!-- link para a galeria de imagens? -->
			<div class="">
				<a href="#"><img src="img/layout/index/Icone_Galeria.png"></a>
			</div>
		<!-- link para artigos -->
			<div class="well">
				<h2><img src="img/layout/index/Tipografia_Artigos.png"></h2>
				<br><br><br><br>
				<a href="#"><img src="img/layout/index/Tipografia_Ver_Mais_Artigos.png"></a>
			</div>
		</div>
	
	<!-- conteudo -->
		<div class="span6">
			<?php 
				
				if(isset($_GET['pg'])){
					$op = $_GET['pg'];
					
					if(isset($_GET['tipo'])){
						$tipo = $_GET['tipo'];
					}
					else
						$tipo = '';
					switch($op){
						case 'home':
							include_once 'home.php';
							break;
							
						case 'contato':
							include 'contato.php';
							break;
							
						case 'admin':
							include 'admin/index.php';
							break;
							
						case 'noticias':
							include 'noticias/ListaNoticias.php';
							break;
						
						case 'noticia':
							include "noticias/VerNoticia.php";
							break;
						
						case 'login':
							include 'formLogin.php';
							break;
						case 'denuncias':
							include 'denuncias/formDenuncia.php';
							break;
						case 'desaparecidos':
							include 'desaparecidos/ListarDesaparecidos.php';
							break;
						case 'procurados':
							include 'procurados/ListarProcurados.php';
							break;
						case 'informar':
							if($tipo=='procurados'){
								include 'procurados/InformProcurados.php';
								}
							else 
								include 'desaparecidos/InformDesaparecido.php';
							break;
						case 'buscar':
							include 'noticias/Busca.php';
							break;
							
						default:
							include_once 'home.php';
							break;
		
					}
				}
				else{
					include_once "home.php";
				}
			
			?>
		</div>	
		
		
		<!-- fim conteudo -->
		<!-- sidebar, eventos, links -->
			<div class="span2">
				
				<div class="well">
					<h2 class="popover-title">Links Úteis</h2>
					
						<a href="#"><img src="img/layout/index/Banners(FaleConosco_SIGO_Webmail_REDEINFOSEG_ASSECOM).png"></a><br /> framework.
						<a href="#">Foundation on Github</a><br />Latest code
						<a href="#">@foundationzurb</a><br />Ping us on Twitter if you have questions.
				
				</div>
				
				<div class="well">
				 oi
				</div>
			</div>
		<!-- fim sidebar, eventos, links -->
	</div>
	
	</div>
	
	
	
	<!-- rodapé -->
	<div class="preto">
		<div class="container span10 centralizado">
		<div class="row">
			<div class="span10">
				<h3 class="font-amarelo">...</h3>
			</div>
		</div>
		</div>
	</div>
	<!-- fim rodapé -->
  
 <script>
 $('#myTab a').click(function (e) {
	  e.preventDefault();
	  $(this).tab('show');
	  $('#myTab a:first').tab('show');
	})
</script>
<script type="text/javascript">$('.dropdown-toggle').dropdown()</script>


</body>
</html>
